package com.jsu.common.exception;

import org.example.model.common.enums.WebHttpCodeEnum;

public class CustomException extends RuntimeException {

    private WebHttpCodeEnum appHttpCodeEnum;

    public CustomException(WebHttpCodeEnum appHttpCodeEnum){
        this.appHttpCodeEnum = appHttpCodeEnum;
    }

    public WebHttpCodeEnum getAppHttpCodeEnum() {
        return appHttpCodeEnum;
    }
}
